package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ReservationDto {

//    {
//        "mobile": "13211223569",//手机号
//            "name": "李天天",//预约人
//            "time": "2024-09-19 10:30:00",//时间
//            "type": 0,//预约类型  0为参观预约
//            "visitor": "李霸天"//家人姓名（老人姓名）
//    }
    private String mobile;

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    private Integer type;

    private String visitor;


}
